package command_pattern;

import lombok.Data;
@Slf4j

/**
 * Created by jingbin on 2016/10/31.
 * 电脑
 */

@Data
@Slf4j
public class Computer {

    public void on() {
        log.info("Computer:", "---打开电脑");
    }

    public void off() {
        log.info("Computer:", "---关闭电脑");
    }

}
